package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.ActivityApply;
import com.danskin.wechat.entity.ActivityApplyConfigOption;
import com.danskin.wechat.entity.example.ActivityApplyExample;

public interface ActivityApplyDao {

	List<ActivityApply> queryActivityApplyName(@Param("id")String id);

	List<ActivityApplyConfigOption> queryActivityApplyConfigOption();

	List<ActivityApply> findactivityApply(@Param("id")String id);
	
	
	   int countByExample(ActivityApplyExample example);

	    int deleteByExample(ActivityApplyExample example);

	    int deleteByPrimaryKey(Integer id);

	    int insert(ActivityApply record);

	    int insertSelective(ActivityApply record);

	    List<ActivityApply> selectByExample(ActivityApplyExample example);

	    ActivityApply selectByPrimaryKey(Integer id);

	    int updateByExampleSelective(@Param("record") ActivityApply record, @Param("example") ActivityApplyExample example);

	    int updateByExample(@Param("record") ActivityApply record, @Param("example") ActivityApplyExample example);

	    int updateByPrimaryKeySelective(ActivityApply record);

	    int updateByPrimaryKey(ActivityApply record);

}
